<#-- @ftlvariable name="entity" type="com.xci.edu.core.entity.EduValidateQuestion" -->
<#include "/sys/_layout.ftl">
<!doctype html>
<html>
<head>
    <@pageHeader/>
</head>
<body>
<@pageLoading/>
<div class="jxpanel winpanel" data-fit="true">
    <form id="editform" class="jxform" method="post"
          action="${saveUrl("/background/eduValidateQuestion/","createSave","updateSave")}">
        <input name="id" value="${entity.id}" type="hidden">
        <table class="table jxtable-form">
            <tr>
                <th class="w-100px">标题</th>
                <td>
                    <input class="form-control" id="name" name="name" value="${entity.name}" maxlength="200" data-validate="required: [true,'请输入标题']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>选项A</th>
                <td>
                    <input class="form-control" id="optionA" name="optionA" value="${entity.optionA}" maxlength="100" data-validate="required: [true,'请输入选项A']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>选项B</th>
                <td>
                    <input class="form-control" id="optionB" name="optionB" value="${entity.optionB}" maxlength="100" data-validate="required: [true,'请输入选项B']" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>选项C</th>
                <td>
                    <input class="form-control" id="optionC" name="optionC" value="${entity.optionC}" maxlength="100"  autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>选项D</th>
                <td>
                    <input class="form-control" id="optionD" name="optionD" value="${entity.optionD}" maxlength="100"  autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <th>正确答案</th>
                <td>
                    <input class="form-control" id="answer" name="answer" value="${entity.answer}" maxlength="100" data-validate="required: [true,'请输入正确答案']" autocomplete="off"/>
                </td>
            </tr>
        </table>
    </form>
    <div class="panel-footer text-right">
        <@editFormDialogCommand/>
    </div>
</div>
<@editFormPageFooter/>
</body>
</html>
